package com.xxxx.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xxxx.server.po.EmployeeVo;
import com.xxxx.server.pojo.*;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhoubin
 */
public interface IEmployeeService extends IService<Employee> {


    int updateSalary(Integer eid, Integer sid);
    Map<String,Object> selectAllList(EmployeeVo vo);

    void deleteUser(Integer id);

    List<Position> selectPosition();


    List<Nation> selectNation();

    List<PoliticsStatus> selectPoliticsStatus();

    List<Department> selectDepartment();


    List<Employee> selectWorkId();

    List<Joblevel> selectJobLevels();


    /**
     * 更新员工信息
     * @param employee
     * @return
     */
    RespBean updateEmployee(Employee employee);

    /**
     * 添加员工
     * @param employee
     * @return
     */
    RespBean insertEmployee(Employee employee);

    /**
     * 获取 员工表中所有的数据
     * @return
     */
    List<Employee> selectAllEmployee();

}
